package com.woniu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book {
    private Integer id;
    private String name;
    private Integer typeId;
    private String provider;
    private String author;
    private BigDecimal price;
    private String detail;
    private String imgSrc;
    private Integer collectionCount;    //收藏量
    private Integer storeCount;     //库存量
    private Integer buyCount;    //购买量
    private Integer readCount;  //点击量
    private String createTime;
    private Integer status;     //状态    1：下架；2：上架
}
